[PATCH 1/2] datasets: explicitly errors on too long string
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 17 Nov 2025 12:27:54 +0000 (13:27 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Sun, 22 Feb 2026 12:28:52 +0000 (13:28 +0100)
commitd7b5972dc60bb60673421af7ebe0e15a0e9e80d3
tree8e96a3d49b4f96744741c9dbfca574bd6fa84bf0
parent1953a5be39d10da8bfd9991cdc8551427ea2b8fd
[PATCH 1/2] datasets: explicitly errors on too long string

Also avoids stack allocation

Ticket: 8110
(cherry picked from commit 0eff24213763c2aa2bb0957901d5dc1e18414dbf)

Origin: upstream, https://github.com/OISF/suricata/commit/32609e6896f9079c175665a94005417cec7637eb.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8110
Subject: Upstream fix for CVE-2026-22262 part 1

Gbp-Pq: Name CVE-2026-22262_1.patch
src/datasets-string.c